package com.yundou.www.wrpc.core.factory;

/**
 * @author wangweiwei
 * @since 2021/7/22
 */
public class DefaultWrpcFactory implements WrpcFactory{
    @Override
    public Object getInstance(String name) {
        return null;
    }

    @Override
    public Object getInstance(Class classT) {
        try {
            return classT.newInstance();
        } catch (Exception e) {
            return null;
        }

    }
}
